<!DOCTYPE html>
<html xmlns:th="http://www.w3.org/1999/xhtml" lang="">
<head>
    <meta charset="UTF-8">
    <title>Login Module</title>
</head>
<style>body.center {
    text-align: center;
}

</style>
<body class="center">
<div>
    <h1>登录</h1>
</div>
<div>
    <form name="loginForm" action="/sso/login" method="POST" accept-charset="UTF-8">
        <div><input placeholder="用户名" value="admin" name="username" type="text"/></div>
        <div><input placeholder="密码" value="123456" name="password" type="password"/></div>
        <div style="color: red"><span th:text="${msg}"></span></div>
        <div><input name="redirectUrl" type="hidden" th:value="${redirectUrl}"/></div>
        <input type="submit" value="登录"/>
        <input type="reset" value="重置"/>
    </form>
</div>
</body>
</html>


<!--<!DOCTYPE html>-->
<!--<html lang="en" xmlns:th="http://www.thymeleaf.org">-->
<!--<head>-->
<!--    <meta charset="UTF-8">-->
<!--    <title>Login Module</title>-->
<!--</head>-->
<!--<body>-->
<!--<h1 style="text-align: center">欢迎来到登录页面</h1>-->
<!--<form style="text-align: center" th:action="@{/login}" method="post">-->
<!--    用户：<input type="text" name="username"><br>-->
<!--    密码：<input type="password" name="password"><br>-->
<!--    <button type="submit">登录</button>-->
<!--</form>-->
<!--</body>-->
<!--</html>-->